import request from '@/utils/request'

// 查询枚举列表
export function findEnumKey(query) {
  return request({
    url: '/system/enum/findEnumKey',
    method: 'get',
    params: query
  })
}

// 查询枚举值
export function findEnumMap(key) {
  return request({
    url: '/system/enum/'+key,
    method: 'get'
  })
}
